//
//  GYProductCollectionView.h
//  GYDemo
//
//  Created by Mrzhang on 2018/3/26.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GYProductCateModel.h"
typedef void(^CollectViewCellCallBack)(NSString *pid);

@interface GYProductCollectionView : UIView
@property (nonatomic,strong) NSString *parentid;
@property (nonatomic,strong) NSMutableArray *dataSource;
@property (nonatomic,strong) NSMutableArray *brandSource;
@property(nonatomic,copy)CollectViewCellCallBack cellBack;
@property (nonatomic,strong) GYProductCateModel *Model;
-(void)refreshData:(GYProductCateModel* )model;
@end
//header
@interface ClassReuseView : UICollectionReusableView
@property (nonatomic,strong) UIButton *btn;
@property (nonatomic,strong) UILabel *titleLB;
@end


//cell
@interface ClassCollectionCell : UICollectionViewCell
@property (nonatomic,strong) UIImageView *imageIV;
@property (nonatomic,strong) UILabel *nameLB;
@property (nonatomic,strong) NSDictionary *info;
@end
